package org.springblade.tms.module.transportorder.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.module.transportorder.dto
 * @className: TransportOrderDTO
 * @author: yr
 * @description: 运单查询参数
 * @date: 2022/3/18 14:35
 */
@Data
public class TransportOrderDTO {
	/**
	 * 运输单号
	 */
	@ApiModelProperty(value = "运输单号")
	private String transportNo;
	/**
	 * 货运订单号
	 */
	@ApiModelProperty(value = "货运订单号 ")
	private String orderNo;
	/**
	 * 交货单号
	 */
	@ApiModelProperty(value = "交货单号")
	private String deliverNo;
	/**
	 * 承运商名称
	 */
	@ApiModelProperty(value = "承运商名称")
	private String carrierName;
	/**
	 * 司机名称
	 */
	@ApiModelProperty(value = "司机名称")
	private String driverName;
	/**
	 * 车牌号
	 */
	@ApiModelProperty(value = "车牌号")
	private String carNo;
	/**
	 * 运输状态
	 */
	@ApiModelProperty(value = "运输状态")
	private String transportStatus;
	/**
	 * 挂车号
	 */
	@ApiModelProperty(value = "挂车号")
	private String bindCarNo;
	/**
	 * 计划提货日期-开始
	 */
	@ApiModelProperty(value = "计划提货日期-开始")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime planGetGoodsDateStart;
	/**
	 * 计划提货日期-结束
	 */
	@ApiModelProperty(value = "计划提货日期-结束")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime planGetGoodsDateEnd;
	/**
	 * 计划收获日期-开始
	 */
	@ApiModelProperty(value = "计划收获日期-开始")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime plannedHarvestDateStart;
	/**
	 * 计划收获日期-结束
	 */
	@ApiModelProperty(value = "计划收获日期-结束")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime plannedHarvestDateEnd;

	/**
	 * 罐箱类型
	 */
	@ApiModelProperty(value = "异常类型")
	private BigDecimal abnormalSpelling;

	/**
	 * 罐箱类型
	 */
	@ApiModelProperty(value = "货运订单类型")
	private String freightOrderTypes;

	@ApiModelProperty(value = "客户名称")
	private String customerName;

	@ApiModelProperty(value = "罐箱号")
	private String containerNo;
}
